import request from '@/utils/request'

// 获取员工信息
export const staffInfo = () => {
  return request({
    method: 'get',
    url: 'staff',
  })
}

// 获取公司匹配
export const companyMatch = () => {
  return request({
    method: 'get',
    url: 'companyMatch',
  })
}

// 获取家服人员列表
export const getStaff = () => {
  return request({
    url: '/staff',
  })
}
// 获取家服人员详情
export const StaffDetail = (id) => {
  return request({
    url: `/staff/${id}`,
  })
}
// 关注功能
export const alterAttention = (data) => {
  return request({
    method: 'PUT',
    url: `/staff/${data.id}`,
    data,
  })
}
